LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

#lib name
LOCAL_MODULE    	:= oraygpio-utils
LOCAL_CPP_EXTENSION 	:= .cpp .cxx .cc 

SRC_PATH           	:= ./
ROCKCHIP_PATH       	:= rockchip

LOCAL_SRC_FILES += \
    $(SRC_PATH)/ctrl_misc_led.c \
    $(SRC_PATH)/gpio-sysfs.cpp \
    $(SRC_PATH)/io-infos.cpp \
    $(SRC_PATH)/serial_name.cpp \
    $(ROCKCHIP_PATH)/iogrps.cpp \
    $(ROCKCHIP_PATH)/rv1126.cpp \
    

	
LOCAL_C_INCLUDES += \
    $(LOCAL_PATH)/$(SRC_PATH) \

#LOCAL_LDLIBS += -Wl,--no-warn-shared-textrel
LOCAL_DISABLE_FATAL_LINKER_WARNINGS := true

LOCAL_LDLIBS    += -lm -llog -lz -pthread -lstdc++ \

include $(BUILD_STATIC_LIBRARY)
